package com.ctshk.rpc.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *  用户收藏listDTO
 * </p>
 *
 * @author 李新科
 * @date 2021/5/17 11:35
 */
@Data
@ApiModel
public class UserReceivingAddressListDTO implements Serializable {

    @ApiModelProperty(value="id")
    private Long id;

    @ApiModelProperty(value="收货人名称")
    private String consigneeName;

    @ApiModelProperty(value="收货人手机区号")
    private String consigneeMobileAreaCode;

    @ApiModelProperty(value="收货人手机区号Id")
    private Long consigneeMobileAreaCodeId;

    @ApiModelProperty(value="收货人手机号码")
    private String consigneeMobileNumber;

    @ApiModelProperty(value="邮政编码")
    private String postalCode;

    @ApiModelProperty(value="地区类型")
    private Integer areaType;

    @ApiModelProperty(value="国家id")
    private Long countryId;

    @ApiModelProperty(value="省份id")
    private Long provinceId;

    @ApiModelProperty(value="市区id")
    private Long cityId;

    @ApiModelProperty(value="地区id")
    private Long areaId;

    @ApiModelProperty(value="所在区域(国家+省+市+区)")
    private String region;

    @ApiModelProperty(value="详细地址")
    private String address;

    @ApiModelProperty(value="是否默认地址")
    private Integer isDefalutAddress;

    @ApiModelProperty(value="国家名称")
    private String countryName;

    @ApiModelProperty(value="省份名称")
    private String provinceName;

    @ApiModelProperty(value="市区名称")
    private String cityName;

    @ApiModelProperty(value="地区名称")
    private String areaName;

    @ApiModelProperty(value="区域主键id,最后一级位置的id,比如最后一级为xx区(xx市/省/国家),则传改xx区(xx市/省/国家)的id")
    private Long locationId;
}
